package activitytest.example.com.application;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.View;

import activitytest.example.com.application.utils.BaseSetActivity;


/**
 * Created by zhanyihong on 2017/12/6.
 */

public  class Setup1Activity extends BaseSetActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setup1);
    }

    @Override
    protected void ShowPrePage() {

    }

    @Override
    protected void ShowNextPage() {
        Intent intent2 = new Intent(getApplicationContext(), setup2Activity.class);
        startActivity(intent2);

        finish();
        overridePendingTransition(R.anim.next_in_anim,R.anim.next_out_anim);

    }

//    public void  nextPage(View view){
//        Intent intent2 = new Intent(getApplicationContext(), setup2Activity.class);
//        startActivity(intent2);
//
//        finish();
//        overridePendingTransition(R.anim.next_in_anim,R.anim.next_out_anim);
//    }


}
